<template>
	<web-view :src="src"></web-view>
</template>

<script>
import {getCommonShareInfo} from '@/common/utils.js'
export default {
	onShareAppMessage() {
		return getCommonShareInfo()
	},
	onLoad(option) {
		this.src = /\?/.test(option.url) ? option.url : decodeURIComponent(option.url);
	},
	data() {
		return {
			src: ''
		};
	},
	methods: {}
};
</script>
